using System.ComponentModel.DataAnnotations;

namespace OneAuthCenter.Application.DTOs.Auth;

/// <summary>
/// 登录请求
/// </summary>
public class LoginRequest
{
    [Required(ErrorMessage = "用户名不能为空")]
    public string Username { get; set; } = string.Empty;
    
    [Required(ErrorMessage = "密码不能为空")]
    public string Password { get; set; } = string.Empty;
    
    public string? ClientId { get; set; }
}

